package com.mohe.dangjian.utils;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 封装json格式的对象
 * @author wlc
 *
 */
public class Json {
	
	//状态
	private boolean success=true;
	
	//封装对象
	private Object object;
	
	//封装字符串
	private String message;
	
	private Long timeKey;
	
	private Integer type=0;
	
	private Integer num;
	private Integer num2;
	
	private List<Map<String,String>> map = new ArrayList<Map<String,String>>();
	
	private List list = new ArrayList();
	
	public boolean getSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
	public Object getObject() {
		return object;
	}
	public void setObject(Object object) {
		this.object = object;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public List<Map<String, String>> getMap() {
		return map;
	}
	public void setMap(List<Map<String, String>> map) {
		this.map = map;
	}
	public List getList() {
		return list;
	}
	public void setList(List list) {
		this.list = list;
	}
	public Long getTimeKey() {
		return timeKey;
	}
	public void setTimeKey(Long timeKey) {
		this.timeKey = timeKey;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getNum() {
		return num;
	}
	public void setNum(Integer num) {
		this.num = num;
	}
	public Integer getNum2() {
		return num2;
	}
	public void setNum2(Integer num2) {
		this.num2 = num2;
	}
	
	
}
